#coding=cp936

'''

Author:Zheng QingChuan <zqc53@126.com>
Last modified: 2007-03-24

Some testcases

'''

import unittest
import segment
import EncodingConvert as ec

class MainTest(unittest.TestCase):

    def setUp(self):
        pass

    def testsegment(self):
        FILE = 'F:\\Documents and Settings\\zqc53\\My Documents\\mywords\\2007\\0219.TXT'
        #segment.segment(FILE);
        #self.assertRaises(Exception,segment.segment,(FILE))

    #test BOM
    def testcodecreadfile(self):pass
        #f = segment.read_file('F:\\Documents and Settings\\zqc53\\My Documents\\mywords\\2006\\hanshu.TXT')
        #self.assertEqual(False,f==-1)

if __name__ == '__main__':
    unittest.main()
